Skip to content

Conversation

@ms-johnalex
Copy link

Made following changes:

  • changed env var references from AZURE_AI_MODEL_DEPLOYMENT_NAME to AZURE_AI_FOUNDRY_MODEL_DEPLOYMENT_NAME to match .env file
  • added openai to requirements .txt file

load_dotenv()

project_client = AIProjectClient(
endpoint=os.environ["AZURE_AI_PROJECT_ENDPOINT"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be AZURE_AI_FOUNDRY_PROJECT_ENDPOINT, to match the one below?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. I was initially focused on just getting them working. updated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES - that's what I have documented.

@ms-johnalex ms-johnalex requested a review from dargilco November 6, 2025 22:01

AZURE_AI_PROJECT_ENDPOINT="https://<YOUR-RESOURCE-NAME>.services.ai.azure.com/api/projects/<YOUR-PROJECT-NAME>"
AZURE_AI_FOUNDRY_PROJECT_ENDPOINT="https://<YOUR-RESOURCE-NAME>.services.ai.azure.com/api/projects/<YOUR-PROJECT-NAME>"
AZURE_AI_FOUNDRY_AGENT_NAME="MyAgent"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see Agent Name defined as env variable, but not used in samples. Should we hard-code the Agent name or read it from env variable?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to read from env var

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants